package com.woniu.dao;

import com.woniu.entity.CreExamineNew;
import com.woniu.entity.CreOrder;

import java.util.List;

public interface CreditExamineNewDao {
    /**
     * 查询
     *
     * @param examineId 主键
     * @return
     */
    public CreExamineNew selectCreExamineNewByExamineId(Integer examineId);

    /**
     * 查询列表
     *
     * @param creExamineNew
     * @return 集合
     */
    public List<CreExamineNew> selectCreExamineNewList(CreExamineNew creExamineNew);

    /**
     * 新增
     *
     * @param creExamineNew
     * @return 结果
     */
    public int insertCreExamineNew(CreExamineNew creExamineNew);

    /**
     * 修改
     *
     * @param creExamineNew
     * @return 结果
     */
    public int updateCreExamineNew(CreExamineNew creExamineNew);

    /**
     * 删除
     *
     * @param examineId 主键
     * @return 结果
     */
    public int deleteCreExamineNewByExamineId(Integer examineId);

    /**
     * 批量删除
     *
     * @param examineIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCreExamineNewByExamineIds(Integer[] examineIds);

    CreExamineNew selectCreExamineNewByOrderId(Integer orderId);


    int selectCreExamineNewListCount(CreExamineNew creExamineNew);
}
